import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'

export default defineUniPages({
  globalStyle: {
    backgroundColor: '#f2f2f2',
    backgroundColorBottom: '#f2f2f2',
    backgroundColorTop: '#f2f2f2',
    backgroundTextStyle: 'dark',
    navigationBarBackgroundColor: '#000000',
    navigationBarTextStyle: 'black',
    navigationBarTitleText: '金餐饮',
    navigationStyle: 'custom',
  },
  tabBar: {
    custom: true,
    color: '#333',
    selectedColor: '#fd3535',
    list: [
      {
        pagePath: 'pages/home/index',
      },
      {
        pagePath: 'pages/report/index',
      },
      {
        pagePath: 'pages/restaurant/index',
      },
      {
        pagePath: 'pages/workbench/index',
      },
      {
        pagePath: 'pages/mine/index',
      },
    ],
  },
})
